home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 4 / The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO / wp / gsar106.zip / COMPILE.TXT < prev    next >
Text File  |  1993-06-01  |  2KB  |  68 lines

  1. If you want gsar to compile under your favourite compiler
  2. and under your platform ( MSDOS or UNIX ) you should read 
  3. this section...
  4.  
  5. gsar was written using 99.99% ANSI C and compiles
  6. without any problems under the following compilers:
  7.  
  8. Turbo C 2.0, Turbo C++ 1.0, Turbo C++ 3.0, Zortech C++ 3.0,
  9. Watcom C 386 8.0, Ultrix ANSI C, Microsoft 6.0, GCC
  10.  
  11. ( All trademarks are properties of their respective owners )
  12.  
  13. The compiler used for the development, testing and 
  14. debugging of gsar was the Zortech C++ compiler version 3.0
  15.  
  16.  
  17. Since gsar is written to run both under UNIX and MSDOS I have
  18. included #ifdefs for easy portability. In the file gsar.h a simple
  19. test is made to see if we're being compiled with an MSDOS compiler
  20. and if we're not it's assumed that we're on a UNIX platform.
  21.  
  22. gsar does not make use of any floating point operations. To
  23. reduce the size of your executable do not link in any floating
  24. point libraries.
  25.  
  26. MSDOS notes.
  27.  
  28. gsar will compile and run in the small model of your compiler.
  29.  
  30. To make gsar as fast as possible the input streams are buffered 
  31. using setvbuf. However the Zortech compiler sets up stream buffers
  32. in it's startup code so setvbuf is not needed.
  33.  
  34. I've done some simple speed tests between the different DOS 
  35. compilers. In all test cases the Zortech executable is the
  36. fastest. This is only noticable on large files, 5MB and upwards.
  37.  
  38. Most MSDOS compilers support the use of wildcards by 
  39. linking in a special object module. See the section below for details
  40.  
  41.  
  42. Below is a list of command lines for use with various compilers:
  43.  
  44. - Turbo C ver 2.0
  45. tcc -ms gsar.c gsarbmg.c arg_func.c <path to file>wildargs.obj 
  46.  
  47. - Turbo C++ 1.0 
  48. tcc -ms gsar.c gsarbmg.c arg_func.c <path to file>wildargs.obj 
  49.  
  50. - Borland C++ 3.0
  51. bcc -ms gsar.c gsarbmg.c arg_func.c <path to file>wildargs.obj 
  52.  
  53. - Microsoft ver 6.0
  54. cl /AS gsar.c gsarbmg.c arg_func.c <path to file>setargv.obj /link /NOE 
  55.  
  56. - Zortech C++ ver 3.0, wildcards pulled in automatically!, integer library
  57. ztc -mis gsar.c gsarbmg.c arg_func.c 
  58.  
  59. - Watcom ver 8.0, the /x is for name case sensitivity
  60. wcl386 /x gsar.c gsarbmg.c arg_func.c <path to file>wildargv.c 
  61.  
  62. - UN?X
  63. cc -o gsar gsar.c gsarbmg.c arg_func.c
  64.  
  65. - GCC
  66. gcc -o gsar gsar.c gsarbmg.c arg_func.c
  67.  
  68.